package com.liuh.web;

import java.util.List;

import com.jfinal.core.Controller;
import com.liuh.fram.err.ErrRenderType;
import com.liuh.fram.err.LocalException.ErrorRenderType;

public class HelloController extends Controller {

	public void test() {
		Object obj = null;
		System.out.println(obj.toString());
		renderText("hello 9.2");
		List<BillInfoM> list = BillInfoM.dao.find("select * from bill_info");
		renderJson(list);
	}

	@ErrRenderType(type = ErrorRenderType.NoCompress)
	public void test2() {
		try {
			Object obj = null;
			System.out.println(obj.toString());
		} catch (Exception e) {
			// TODO Auto-generated catch block
			// throw new LocalException(ErrorType.parseErr);
		}
	}

}
